































<!DOCTYPE HTML>
<html>
<head>
     <base href="https://slb.chinatorch.org.cn:443/xonlinereport/" />

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="renderer" content="webkit" />
	<link rel="icon" href="images/icons/favicon.ico" type="image/x-icon" />
    <meta http-equiv="Cache-Control" content="no-store" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- optional javascript: effects.js,jquery.js -->
    <!-- <link type="text/css" href="styles/global_3w.css" rel="stylesheet" /> --><!--æ°å¢-->
    <!-- <link type="text/css" href="styles/global.css" rel="stylesheet" />
    <link href="scripts/liger/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" /> -->
<!-- rapid-validation BEGIN -->
    <link type="text/css" href="scripts/rapid-validation/validation.css" rel="stylesheet" />
<!-- rapid-validation END-->

<!-- jQuery library begin -->
   <!--  <link rel="stylesheet" type="text/css" href="scripts/jquery/base/jquery.ui.all.css" /> -->
    <link type="text/css" rel="stylesheet" href="scripts/jquery/base/jquery.ui.all.css" />
<!-- jQuery library end -->
<!--DataTables begin-->
    <link href="widgets/extremecomponents/extremecomponents_3w.css"   type="text/css" rel="stylesheet" /><!--æ°å¢-->
    <link rel="stylesheet" type="text/css" href="scripts/DataTables-1.9.3/treeTable/jquery.treeTable.css"/>
    <link rel="stylesheet" type="text/css" href="scripts/DataTables-1.9.3/css/jquery.dataTables.css"/>
<!--DataTables end -->

<!-- dhtmlxCalendar library begin -->
    <link rel="stylesheet" type="text/css" href="scripts/dhtmlxCalendar/dhtmlxcalendar.css" />
    <link rel="stylesheet" type="text/css" href="scripts/dhtmlxCalendar/skins/dhtmlxcalendar_dhx_skyblue.css" />
<!-- dhtmlxCalendar library end -->

<!-- bootstrap V4
    <link href='styles/bootstrap.min.css' rel='stylesheet'>
 -->
 	<link rel="stylesheet" type="text/css" href="css/css/public.css"/>
    <link rel="stylesheet" href="plugins/valid/src/scss/default.css">
    <link rel="stylesheet" type="text/css" href="plugins/Font-Awesome/css/font-awesome.css"/>
    <link href="widgets/extremecomponents/extremecomponents_3w.css" type="text/css" rel="stylesheet" />

<style type="text/css">
.check-box .checke .checke-list {
    width: 359px !important;
    vertical-align: top;
    font-size: 14px;
}
</style>

	 <link href="/xonlinereport/scripts/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css" rel="stylesheet" />
</head>
<body>






















<ul class="breadcrumb">

</ul>
<div class="container">




<link rel="stylesheet" type="text/css" href="/xonlinereport/styles/css/style_min.css" />
<link rel="stylesheet" type="text/css" href="/xonlinereport/styles/css/tooltips.css" />
<script type="text/javascript" src="/xonlinereport/js/prototype.js"></script>
<script type="text/javascript" src="/xonlinereport/js/prototype_for_validation.js"></script>
<script type="text/javascript" src="/xonlinereport/js/tooltips.js"></script>
<script type="text/javascript" src="/xonlinereport/js/effects.js"></script>

<script type="text/javascript" src="/xonlinereport/js/encrypt.js"></script>

	<input type="hidden" value="2">
     <div class="content"  id="yfhd">
         <div class="contentIn ">
         <form name="dataEprForm" id="dataEprForm" method="post" enctype="multipart/form-data" namespace="/inforeport/datainnocom">
			<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEprProject.id" value="" id="dataEprProject.id"/>  </td>
</tr>

			<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataInnocom.id" value="" id="dataInnocom.id"/>  </td>
</tr>

			<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataInnocomId" value="" id="dataInnocomId"/>  </td>
</tr>

			<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEprProject.dataId" value="" id="dataEprProject.dataId"/>  </td>
</tr>

			<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEprProject.entId" value="" id="dataEprProject.entId"/>  </td>
</tr>

			<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEprProject.createDate" value="" id="dataEprProject_createDate"/>  </td>
</tr>

			<input type="hidden" name="struts.token.name" value="token" />
<input type="hidden" name="token" value="PJ3U0E6SZBNNGDM3XVJVOBXJZMF4ZOAQ" />
             <div class="box-content">
                 <div class="box-header ">
                     <h2 class="text-center">企业研究开发活动情况表<small class="h2-small">
                         <span class="font-red">* </span>号为必填项</small>
                     </h2>
                 </div>
                 <div class="box-body">
                     <div class="div-two">
                         <div class="row">
                             <div class="form-group input-w300 ">
                                 <label>研发活动编号：RD<span class="font-red">  *</span></label>
                                 <input type="text"  placeholder="请输入" id="hcod" value="" name="dataEprProject.Pxmbh"/>
                                 <span id="hcodTip"></span>
                             </div>
                             <div class="form-group input-w300 padding-left-10">
                                 <label>研发活动名称<span class="font-red"> *</span></label>
                                 <input type="text"  placeholder="请输入" id="yproductName" name="dataEprProject.Pxmmc" value=""/>
                                 <span id="yproductNameTip"></span>
                             </div>
                         </div>
                         <div class="row">
                             <div class="form-group input-w300 ">
                                 <label>开始日期<span class="font-red"> *</span></label>
                                 <input type="text" name="dataEprProject.Pqzsj"
													id="dataEprPQzsj" onfocus="WdatePicker()" size="10"
													readonly="true"
													value="" />
                                 <span id="dataEprPQzsjTip"></span>
                             </div>

                             <div class="form-group input-w300 padding-left-10">
                                 <label>结束日期<span class="font-red"> *</span></label>
                                 <input type="text" name="dataEprProject.Pjssj"
													id="dataEprPJssj" onfocus="WdatePicker()" size="10"
													readonly="true"
													value="" />
                                 <span id="dataEprPJssjTip"></span>
                             </div>
                         </div>
                     </div>
                     <div class="input-group margin-bottom-0">
                         <label>技术领域 <span class="font-red"> *</span></label>
                         <div class="select-w660">
                             <div class="form-group margin-right-6">
                                 <input type="hidden" id="onemain1" value="1">

	   		  					<select name="dataEprProject.Pjsly1" id="onemain">
    <option value="0"
    >请选择</option>
    <option value="1" selected="selected">电子信息</option>
    <option value="2">高技术服务</option>
    <option value="3">先进制造与自动化</option>
    <option value="4">航空航天</option>
    <option value="6">生物与新医药</option>
    <option value="7">新材料</option>
    <option value="8">新能源与节能</option>
    <option value="9">资源与环境</option>


</select>


                             </div>
                             <div class="form-group margin-right-6">
                                <input type="hidden" id="scdmain1" value="10">
								<select name="dataEprProject.Pjsly2" id="scdmain" >
								</select>
                             </div>
                             <div class="form-group">
                                 <input type="hidden" id="thdmain11" value="18">
								<select class="type1" name="dataEprProject.Pjsly3" id="thdmain" >
								</select>
                             </div>
                         </div>
                     </div>
                     <div class="div-two">
                         <div class="row">
                             <div class="form-group ">
                                 <label>技术来源<span class="font-red"> *</span></label>
                                 <select name="dataEprProject.Pjslya" id="jslyList">
    <option value="0"
    >--请选择</option>
    <option value="">请选择</option>
    <option value="1">大专院校</option>
    <option value="2">地方属科研院所</option>
    <option value="3">其他企业技术</option>
    <option value="4">引进技术本企业消化创新</option>
    <option value="5">国外技术</option>
    <option value="6">企业自有技术</option>
    <option value="7">中央属科研院所</option>


</select>


                                 <span id="jslyListTip"></span>
                             </div>
                         </div>
                     </div>
                     <div class="check-box">
                         <label >知识产权编号<span class="font-red"> </span></label>
                         <div class="checke">
                             <label >可多选（Ctrl+左键添加或删除）</label>

   		  						<select name="dataEprProject.Pzscqbha" id="PZscqbha" class="checke-list" multiple="multiple" onchange="checkval(this.id)">
    <option value="IP01">IP01</option>


</select>

    <input type="hidden" id="__multiselect_PZscqbha" name="__multiselect_dataEprProject.Pzscqbha" value=""
 />

                                 <textarea class="checke-list" id="yxPZscqbha"readOnly ></textarea>
                         </div>
                         <span id="yxPZscqbhaTip"></span>
                     </div>
                     <div class="div-two">
                         <div class="row">
                             <div class="form-group input-w300 ">
                                 <label>研发经费总预算（万元）<span class="font-red"> *</span></label>
                                 <input type="text"  placeholder="请输入" id="spending" name="dataEprProject.Pyfjfzys" value=""/>
                                 <span id="spendingTip"></span>
                             </div>
                         </div>
                     </div>
                     <div class="input-group">
                         <label >研发经费近三年总支出（万元）<span class="font-red"> *</span></label>
                         <div class="input-box padding-top-20">
                             <div class="row">
                                 <div class="form-group input-w317">
                                     <label >总计（万元）</label>
                                     <input type="text"   readonly="readonly" name="dataEprProject.Pyfjfzzc" id="yfjfzzc" value=""  />
                                     <span id="yfjfzzcTip"></span>
                                 </div>
                                 <div class="form-group input-w317">
                                     <label >其中（2018）</label>
                                     <input type="text"  placeholder="请输入"  name="dataEprProject.Pyfzc3" id="zc1"
													value=""/>
                                     <span id="zc1Tip" ></span>
                                 </div>
                             </div>
                             <div class="row">
                                 <div class="form-group input-w317">
                                     <label >其中（2019）</label>
                                     <input type="text"  placeholder="请输入" name="dataEprProject.Pyfzc2" id="zc2"
													value="" />
                                     <span id="zc2Tip" ></span>
                                 </div>
                                 <div class="form-group input-w317">
                                     <label >其中（2020）</label>
                                     <input type="text" placeholder="请输入" name="dataEprProject.Pyfzc1" id="zc3"
									 value=""/>
                                     <span id="zc3Tip" ></span>
                                 </div>
                             </div>
                         </div>
                     </div>
                     <div class="div-two">
                         <div class="row">
                             <div class="form-group input-w408">
                                 <label >目的及组织实施方式（限400字）<span class="font-red"> *</span></label>
                                 <textarea  placeholder="请输入" id="PLxmd"  name="dataEprProject.Plxmd" wrap="VIRTUAL"></textarea>
                                 <span id="PLxmdTip"></span>
                             </div>
                             <div class="form-group input-w408  padding-left-10">
                                 <label >核心技术及创新点（限400字）<span class="font-red"> *</span></label>
                                 <textarea  placeholder="请输入" id="PHxjs" wrap="VIRTUAL" name="dataEprProject.Phxjs"></textarea>
                                 <span id="PHxjsTip"></span>
                             </div>
                         </div>
                         <div class="row">
                             <div class="form-group input-w408">
                                 <label >取得的阶段性成果（限400字）<span class="font-red"> *</span></label>
                                 <textarea  placeholder="请输入" wrap="VIRTUAL" id="PQdcg" name="dataEprProject.Pqdcg"  ></textarea>
                                 <span id="PQdcgTip"></span>
                             </div>
                         </div>
                         <div class="row">
			                <div class="uploadAttachment">
			                	<h3>附件</h3>

			                		<a href="javascript:;" class="btn uploadBtn" onClick="fileClick('yyzzFile')">点击上传</a>
			                    	<input type="file" id="yyzzFile" name="upload" value=""
			                           onchange="handleFile(this.files[0],'2','yyzzFile')" accept=".pdf"
			                           style="display:none"/>
			                    	<input type="hidden" id="yyzzFileHid" value="" />
			                    	<span id="yyzzFileTip"></span>


			                    <div class="uploadTip">
			                    	<!-- <p class="fontWeight">附件内容说明：</p> -->
			                    	<p>请上传科研项目立项证明（已验收或结题项目需附验收或结题报告）相关材料。</p>

			            			<p>江苏省认定机构具体要求如下：</p>

			            				科研项目立项证明相关材料（已验收或结题项目需附验收或结题报告）。


			                    	<p class="fontWeight">附件格式要求：</p>
			                    	<p>1、证明材料扫描上传。</p>
			                    	<p>2、只支持非加密PDF格式的文件上传。</p>
			                    	<p>3、单个文件大小不要超过2M。</p>
			                    </div>
			                </div>
                    	</div>
                     </div>
                 </div>
                 <div class="box-footer text-right">
                     <button type="submit" class="green" id="dataEprsave">保存</button>
                     <button type="button" class="btn-default" onclick="location.href='/xonlinereport/inforeport/DataInnocom/initDataInnocom.do?type=2&dataInnocomId=8a5419edc90b11eba90a00163e827061'">返回</button>
                 </div>
             </div>
         	</form>
         </div>
    </div>

<script type="text/javascript" src="/xonlinereport/js/js/getMainDomainUsingAjax.js"></script>


</div>

<script type="text/javascript">
	var jsContextPath = '/xonlinereport';
</script>
<!-- rapid-validation BEGIN -->
    <!--<script type="text/javascript" src="/xonlinereport/scripts/rapid-validation/prototype_for_validation.js"></script>-->
      <!--<script type="text/javascript" src="/xonlinereport/scripts/rapid-validation/validation_cn.js"></script>-->
<!-- rapid-validation END-->

<!-- jQuery library begin -->

   <!--  <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery-1.4.2.js"></script>Ã¦ÂÂ°Ã¥Â¢Â -->
     <!-- <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery-1.8.2.js"></script>-->
     <script type="text/javascript" src="/xonlinereport/js/js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery.form.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery.bgiframe.js"></script>

   <!-- <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery-1.3.2.min.js"></script>  -->

   <!-- dhtmlxCalendar library begin -->

	<!-- dhtmlxCalendar library end -->
	<!-- jQuery library end -->
<!--æ¥ææä»¶-->
<script src="/xonlinereport/plugins/datepicker/WdatePicker.js"></script>

    <script type="text/javascript" src="/xonlinereport/scripts/application.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/common.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/util.js"> </script>
    <!--éç¨js-->
	<script src="/xonlinereport/js/js/jquery-2.1.4.min.js"></script>
	<script src="/xonlinereport/js/js/base.js"></script>
	<!--è¡¨åéªè¯js-->
	 <script src="/xonlinereport/plugins/valid/formValidator-4.1.3.js"></script>
	<script src="/xonlinereport/plugins/valid/formValidatorRegex.js"></script>
	<!-- <script src="/xonlinereport/plugins/valid/DateTimeMask.js"></script> -->
	<script src="/xonlinereport/js/js/myValidator.js"></script>
	<!--è¡¨åç¾åjs-->
	<script src="/xonlinereport/js/js/uniform-common.js"></script>
	<script src="/xonlinereport/plugins/valid/src/js/jquery.uniform.js"></script>
	<!--éç¨jsï¼ie8å¼å®¹æ§å¤çé®é¢-->
	<!--[if lt IE 9]>
	<script src="/xonlinereport/js/js/html5shiv.min.js"></script>
	<script src="/xonlinereport/js/js/placeholder.js"></script>
	<![endif]-->

	<script src="/xonlinereport/js/js/jquery.mousewheel.js"></script>
	<script>
		$(document).ready(function() {
		var ua = window.navigator.userAgent;
		var old_ie = ua.indexOf('MSIE ');
		var new_ie = ua.indexOf('Trident/');

		if ((old_ie > -1) || (new_ie > -1)) {
		    var $doc = $(top.document);// é¡¶å±é¡µé¢ä¸å®è¦å¨è¿éè·åï¼ mousewheeläºä»¶ä¸­è·åä¸å°ï¼ åå ä¸æ
		    $("body").on('mousewheel', function(event, delta) {
			        if (delta < 0) $doc.scrollTop($doc.scrollTop() + 25);
			        else if (delta > 0) $doc.scrollTop($doc.scrollTop() - 25);
			        return false;
		    	});
			}
		});
	</script>
	<script src="/xonlinereport/scripts/jquery-jbox/2.3/jquery.jBox-2.3.min.js" type="text/javascript"></script>
	<script src="/xonlinereport/js/common.js" type="text/javascript"></script>
	<script charset="UTF-8" language="javascript" type="text/javascript" >
		$(function(){
			var alertMessage = "";
			if(alertMessage!=null && alertMessage!=""){
				if(alertMessage=='保存成功!'||alertMessage=='保存成功！'||alertMessage=='保存成功'||alertMessage=='操作成功'){
					showTip(alertMessage,'success',3000);
				}else if(alertMessage == '请完善企业的技术领域'){
					alert(alertMessage);
					location.href = '/xonlinereport/inforeport/EntInfoChange/initRegDataForUpdate.do';
				}else{
					closeTip();
					alert(alertMessage);
				}
			}else{
				closeTip();
			}
		});

	</script>
</body>
</html>
 <script type="text/javascript">
      $(document).ready(function(){
 			parent.document.getElementById("innocomFrame").height = $(document.body).height() + 30 + "px";
      		var val1 = document.getElementById("yxPZscqbha").value;
			var val2 = ','+val1.split(" ")+',';
			$('#PZscqbha option').each(function(){
			  if(val2.indexOf(','+this.value+',')!=-1){
			 	 this.selected=true;
			  }
			});

      });

	function back(){

		var listForm = document.getElementById("dataEprForm");
		listForm.action="/xonlinereport/inforeport/DataInnocom/initDataInnocom.do?type=2&dataInnocomId=8a5419edc90b11eba90a00163e827061";
		listForm.submit();
	}

	$("#zc1").change(function(){
		yf();
	})
	$("#zc2").change(function(){
		yf();
	})
	$("#zc3").change(function(){
		yf();
	})


	function yf(){
		var zc1=parseFloat(document.getElementById("zc1").value==""?0:document.getElementById("zc1").value);
		var zc2=parseFloat(document.getElementById("zc2").value==""?0:document.getElementById("zc2").value);
		var zc3=parseFloat(document.getElementById("zc3").value==""?0:document.getElementById("zc3").value);
		var intCount=1000;
		var z=(zc1*intCount+zc2*intCount+zc3*intCount)/intCount;
		document.getElementById("yfjfzzc").value=z.toFixed(2);
	}
	function checkval(objid){
		var val = document.getElementById(objid)
		var str = [];
		for(i=0;i<val.length;i++){
			if(val.options[i].selected){
				str.push(val[i].value);
			}
		}
		document.getElementById("yxPZscqbha").value=str
	}
</script>
<script>
/* 上传图片 */
function fileClick(ele) {
	$("#"+ele).click();
}
function handleFile(file, type ,fileId) {
	var size = (file.size / 1024 / 1024).toFixed(2);
	if (size > 2) {
		alert("上传文件不能超过2M，请重新上传!");
		return false;
	};
	var fobj = $("#" + fileId).val();
	var fileType = getFileName(fobj).substring(getFileName(fobj).lastIndexOf("."), getFileName(fobj).length);
	if(!/\.(pdf|PDF)$/.test(fileType)) {
		$("#" + fileId).val("");
		alert("请上传图片文件！")
       	return false;
    }
	 $("#" + fileId + "Name").attr("value", getFileName(fobj)).attr("title",
			getFileName(fobj));
	 $("#yyzzFileTip").text(getFileName(fobj));
};

function getFileName(o) {
	if (o) {
		var pos = o.lastIndexOf("\\");
			return o.substring(pos + 1);
		} else {
		return null;
	}
};
/* $("#dataEprsave").click(function(){
	var attach = $("#yyzzFile").val();
	if(!attach){
		alert("请上传附件");
		return false;
	}
}); */
</script>

